package com.jic.member.api.rest;

import com.jic.member.request.EventListenerInputDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 优惠券配置表
 *
 * @author : seven
 * @version : v1.0.0
 * @email : 774329481@qq.com
 * @since : 2020-03-15 08:18:04
 */
@FeignClient(name = "jic-member",path = "/eventListenerProviderApi")
public interface EventListenerProviderApi {

    @PostMapping("/processEvent")
    void processEvent(@RequestBody EventListenerInputDTO dto);

}